package org.biao.aliyundns.service;

import com.aliyun.alidns20150109.models.DescribeDomainRecordsResponseBody;

/**
 * 阿里云DNS
 */
public interface AliyunDNSService {


    /**
     * 获取域名解析记录
     *
     * @return
     */
    DescribeDomainRecordsResponseBody.DescribeDomainRecordsResponseBodyDomainRecordsRecord describeDomainRecord();

    /**
     * 修改域名解析记录
     *
     * @param recordId 解析记录ID
     * @param value    公网IP
     */
    void updateDomainRecord(String recordId, String value);

}
